package com.ycb.concurrency.limitation.rate;

/**
 * 限流器
 */
public interface RateLimiter {

    /**
     * 获取请求权限
     * @return 允许请求
     */
    boolean tryAcquire();

}

